package com.victor.dao;

import java.util.List;

import javax.persistence.Column;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import com.victor.entity.Demo;
import com.victor.entity.LookThings;

@Mapper
public interface DemoDao {

	@Select({ "select * from demo " })
	List<Demo> getall();

	@Insert({ "insert into lookthings (photo,introduction,pixels) values (#{photo},#{introduction},#{pixels})" })
	int addlookthings(LookThings lookthings);

}
